package com.download.web.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

/**
 * <p>
 * 
 * </p>
 *
 * @author cmy
 * @since 2019-02-20
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class BusDicDictionary{

    private static final long serialVersionUID = 1L;

    @TableId(type= IdType.AUTO)
    private Integer id;

    private String name;

    private String value;

    public BusDicDictionary(String value) {

        this.value = value;
    }

    public BusDicDictionary(Integer id, String value) {
        this.id = id;
        this.value = value;
    }
}
